﻿using System;
using Newtonsoft.Json;

namespace RestServicesSample.Model
{
    public class User
    {
        [JsonProperty("id")]
        public int Id { get; set; }
        
        [JsonProperty("name")]
        public String Name { get; set; }

        [JsonProperty("surname")]
        public String Surname { get; set; }

        [JsonProperty("email")]
        public String Email { get; set; }

        [JsonProperty("phone")]
        public String Phone { get; set; }

        [JsonProperty("user")]
        public SampleApiResponse Response { get; set; }
    }
}
